package com.chart.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chart.system.domain.RegistrationChannels;
import com.chart.system.mapper.RegistrationChannelsMapper;
import com.chart.system.service.RegistrationChannelsService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 此处写该类描述
 *
 * @Author 罗继全
 * 2024/7/5 11:24
 */
@Service
public class RegistrationChannelsServiceImpl extends ServiceImpl<RegistrationChannelsMapper, RegistrationChannels> implements RegistrationChannelsService {

  @Override
  public List<RegistrationChannels> getIdByremark(String remark) {

      LambdaQueryWrapper<RegistrationChannels> queryWrapper = new LambdaQueryWrapper<>();
      queryWrapper.like(RegistrationChannels::getRemark, remark);
      //return (List<RegistrationChannels>) queryWrapper;
      return list(queryWrapper);
  }
}
